package com.lngsyz.file.entity;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**  
 * Description: http请求返回对象
 * Created by yangbk on 2019/04/13.
 */
@Data
@ApiModel(value = "result_common",description = "包装信息")
public class URICommonResult implements Serializable {

	private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "返回代码：1-成功；0-失败；",required = true,example = "0")
    private int code = 0;
    @ApiModelProperty(value = "返回详情",required = false,example = "异常信息")
    private String msg;

    public URICommonResult() {
		super();
    }

    public URICommonResult(int code, String msg) {
    	super();
    	this.code = code;
    	this.msg = msg;
    }
}
